package io.github.bigbird0101.youyishi.code.event;

import io.github.bigbird0101.youyishi.code.CodeContent;

import java.util.List;

/**
 * @author m15179835326@163.com
 * @date 2023-05-12 11:12
 */
public class CompileBeforeEvent extends CodeEvent {

    public CompileBeforeEvent(List<CodeContent<?>> codeContents) {
        super(codeContents);
    }

    @Override
    @SuppressWarnings("unchecked")
    public List<CodeContent<?>> getSource() {
        return (List<CodeContent<?>>) super.getSource();
    }
}
